<?php global $trns_options, $trns; ?>
<div class="home_sidebarPosts">
	<h2 class="homeCatTitle"><?php echo get_cat_name($trns_options["sideNewsCatID"]); ?></h2>
	<ul>
		<?php $que14=1; $query14 = new WP_Query();$query14->query('showposts='.$trns_options["postCountBot7"].'&cat='.$trns_options["sideNewsCatID"]); ?>
		<?php while ($query14->have_posts()) : $query14->the_post(); ?>
		<li<?php if ($que14 == 6) { ?> class="last"<?php } ?>>
			<div class="thumb">
				<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php viva('trnsSidebar','1'); ?>" alt="" /></a>
			</div>
			<div class="entry">
				<h2 class="sidebarPostTitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
				<p><?php if($trns_options['enableAName'] == 1) { ?><span class="author"><?php the_author_posts_link(); ?></span><?php } ?> <?php if($trns_options['enableDate'] == 1) { ?><span class="date"><?php the_time($trns_options["timeFormat"]) ?></span><?php } ?></p>
				<p><?php print string_limit_words(get_the_excerpt(), 8); ?></p>
			</div>
		</li>
		<?php $que14++; endwhile; wp_reset_query(); ?>
	</ul>
</div><!-- /home_sidebarPosts -->

<div class="home_sidebar_ads">
	<?php include( TEMPLATEPATH . '/Ad300x250MainPageBottom.php' ); ?>
</div><!-- /home_sidebar_ads -->